import { IsNotEmpty, ValidateNested } from "class-validator";
  
export class CreatePersonDto {
    @ValidateNested()
    @IsNotEmpty()
    id: string;
    name: string;
    lastname: string;
    birthplace: string;
    birthdate: string;
    nationality: string; // This might eventually becoma an enum
    address: string;
}
